import util.*;

class util.FrameListenerAdapter implements FrameListener
{
	public function FrameListenerAdapter()
	{
		
	}
	
	public function onFrame(event:EventObject):Void
	{
		refreshColor();
	}

	public function refreshColor()
	{
		var color:Color = new Color(_root["test"]["mask"]);
		color.setRGB(0xFF0000);
	
		color = new Color(_root["test2"]["mask"]);
		color.setRGB(0xFFF000);
		
		color = new Color(_root["test3"]["mask"]);
		color.setRGB(0x0000FF);
	}

	public function onEnterFrame(event:EventObject):Void{}
	
	public function toString():String
	{
		return "FrameListenerAdapter";
	}
}